<?php

namespace core\controller;
use core\config\code;

class RestUtils {

	public static function sendResponse($status = 200, $body = '', $content_type = 'text/html') {
		# code...
	}

	public static function getStatusCodeMessage($status) {
		$codes = array(
			//core/config/code.php

		);
		return (isset($codes[$status])) ?: ''; //返回状态码
	}

}

?>